#{extends 'relationsHome.html' /}
#{set title:'Home' /}
#{set title:'Relation' /}

#{set 'moreStyles'}
<link rel="stylesheet" href="@{'/public/stylesheets/forms.css'}">
<link rel="stylesheet" href="@{'/public/stylesheets/css3buttons.css'}"
	media="screen">

#{/set}
<body>
<div id=left>
<br/>
<h2 align="left"> Create Relations</h2>
<br/>

#{if userType=="organizationLead" || userType=="organizer" || userType=="systemAdmin"}

<a href="@{Relations.relateEntity()}" class=" button"><span class="plus icon"></span>Entities relation</a><br/><br/>

#{/if}
<a href="@{Relations.relateTopic()}" class=" button"><span class="plus icon"></span>Topics Relation</a><br/><br/>
#{if userType=="organizationLead" || userType=="organizer" || userType=="systemAdmin"}
<a href="@{Relations.relateTag()}" class=" button"><span class="plus icon"></span>Tags relation</a><br/><br/>
#{/if} 
#{if userType=="organizationLead" || userType=="systemAdmin"}
<a href="@{RelationName.relationNamesHome(idForOrganization,userType)}" class="positive button"><span class="pen icon"></span>Relation name</a>
#{/if}
</div>
</body>

